package com.share.homestay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("order_logs")
public class OrderLogs {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String actionName;

    private String actionContent;

    private String remark;

    private Date actionTime;

    @TableField(exist = false)
    private String maxTime;

    @TableField(exist = false)
    private String minTime;

}